import request from '@/utils/request'

const prefix = "/api/buildingSiteCheck"

/**
 *  新增
 */
export function constructionInsert(data) {
	return request({
		url: prefix + `/insert`,
		method: 'post',
		data
	})
}

/**
 *  修改
 */
export function constructionUpdate (data) {
	return request({
		url: prefix + `/update`,
		method: 'post',
		data
	})
}

/**
 *  列表
 */
export function constructionList (data) {
	return request({
		url: prefix + `/list`,
		method: 'get',
		data
	})
}

/**
 *  详情
 */
export function constructionDetails (id) {
	return request({
		url: prefix + `/detail/${id}`,
		method: 'get',
	})
}

/**
 *  删除
 */
export function constructionDelete (id) {
	return request({
		url: prefix + `/delete/${id}`,
		method: 'get',
	})
}








